 <?php 
		if($value){
			echo '
			<span title="'._resource('published',true).'">
	<a href="javascript:;">
			<img src="'.$this->webroot.'img/backend/tick.png'.'" width="16" height="16" border="0" alt="'._resource('published',true).'" onclick="ajax(\'published_'.$id.'\',\''.$this->params['controller'].'/published/'.$id.'/0\');" /></a></span>';
		}
		else{
			echo '
			<span title="'._resource('unpublished',true).'">
	<a href="javascript:;">
			<img src="'.$this->webroot.'img/backend/publish_x.png'.'" width="16" height="16" border="0" alt="'._resource('unpublished',true).'" onclick="ajax(\'published_'.$id.'\',\''.$this->params['controller'].'/published/'.$id.'/1\');" /></a></span>';
		}
		?>